PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Fractal / Nested Spiral / Halfbreak + Flexi and bdrv - Voyage.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=2.000 |
| 8 | fDecay=0.980 |
| 9 | fVideoEchoZoom=2.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=5 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=1 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=4.100 |
| 26 | fWaveScale=1.053 |
| 27 | fWaveSmoothing=0.900 |
| 28 | fWaveParam=0.194 |
| 29 | fModWaveAlphaStart=1.000 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.000 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=1.00000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=1.000 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.010 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.010 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=4.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=1 |
| 128 | shapecode_0_sides=40 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=1 |
| 131 | shapecode_0_textured=1 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.59957 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.33450 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=1.000 |
| 141 | shapecode_0_b=1.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=1.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=1.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=0.000 |
| 150 | shapecode_0_border_a=0.000 |
| 151 | shape_0_init1=bob = 1.5; |
| 152 | shape_0_init2=ro = 0; |
| 153 | shape_0_init3=red = rand(20); |
| 154 | shape_0_per_frame1=vol = 1 + 0.2*((bass_att+treb_att+mid_att)/3); |
| 155 | shape_0_per_frame2=bob = bob*above(bob,0.01) - 0.01 + 1*(1 - above(bob,0.01)); |
| 156 | shape_0_per_frame3=bob = 0.4 + 0.4*sin(time*0.8); |
| 157 | shape_0_per_frame4=bob = bob*vol; |
| 158 | shape_0_per_frame5=rad = bob; |
| 159 | shape_0_per_frame6=border_1 = 0.4; |
| 160 | shape_0_per_frame7=sides = 30; |
| 161 | shape_0_per_frame8=ro = ro + 0.02; |
| 162 | shape_0_per_frame9=ang = ro; |
| 163 | shape_0_per_frame10=rad = 0.6; |
| 164 | shape_0_per_frame11= |
| 165 | shape_0_per_frame12=sp = red*0.025; |
| 166 | shape_0_per_frame13=spi = 0.5 - sp; |
| 167 | shape_0_per_frame14=tm = time*0.1; |
| 168 | shape_0_per_frame15=border_r = 0.5 + sp*sin(tm*0.6) + spi*cos(tm*1.46); |
| 169 | shape_0_per_frame16=border_g = 0.5 + sp*sin(tm*1.294) + spi*cos(tm*0.87); |
| 170 | shape_0_per_frame17=border_b = 0.5 + sp*sin(tm*1.418) + spi*cos(tm*0.76); |
| 171 | shapecode_1_enabled=1 |
| 172 | shapecode_1_sides=40 |
| 173 | shapecode_1_additive=1 |
| 174 | shapecode_1_thickOutline=0 |
| 175 | shapecode_1_textured=0 |
| 176 | shapecode_1_num_inst=1 |
| 177 | shapecode_1_x=0.500 |
| 178 | shapecode_1_y=0.500 |
| 179 | shapecode_1_rad=0.10000 |
| 180 | shapecode_1_ang=0.00000 |
| 181 | shapecode_1_tex_ang=0.00000 |
| 182 | shapecode_1_tex_zoom=1.00000 |
| 183 | shapecode_1_r=1.000 |
| 184 | shapecode_1_g=1.000 |
| 185 | shapecode_1_b=1.000 |
| 186 | shapecode_1_a=1.000 |
| 187 | shapecode_1_r2=0.000 |
| 188 | shapecode_1_g2=0.000 |
| 189 | shapecode_1_b2=0.000 |
| 190 | shapecode_1_a2=0.000 |
| 191 | shapecode_1_border_r=1.000 |
| 192 | shapecode_1_border_g=1.000 |
| 193 | shapecode_1_border_b=1.000 |
| 194 | shapecode_1_border_a=0.000 |
| 195 | shape_1_per_frame1=x = 0.5 + 0.5*(sin(time*1.1)*0.3 + 0.7*sin(time*0.5)); |
| 196 | shape_1_per_frame2=x = 0.5 + 0.225*sin(time); |
| 197 | shape_1_per_frame3=y = 0.5 + 0.3*cos(time); |
| 198 | shape_1_per_frame4= |
| 199 | shape_1_per_frame5=rad = rad*mid_att; |
| 200 | shape_1_per_frame6=r = 0.5 + 0.5*sin(frame*0.5); |
| 201 | shape_1_per_frame7=b = 0.5 + 0.5*sin(frame*0.5 + 2.094); |
| 202 | shape_1_per_frame8=g = 0.5 + 0.5*sin(frame*0.5 + 4.188); |
| 203 | shape_1_per_frame9= |
| 204 | shapecode_2_enabled=1 |
| 205 | shapecode_2_sides=40 |
| 206 | shapecode_2_additive=1 |
| 207 | shapecode_2_thickOutline=0 |
| 208 | shapecode_2_textured=0 |
| 209 | shapecode_2_num_inst=1 |
| 210 | shapecode_2_x=0.500 |
| 211 | shapecode_2_y=0.500 |
| 212 | shapecode_2_rad=0.10000 |
| 213 | shapecode_2_ang=0.00000 |
| 214 | shapecode_2_tex_ang=0.00000 |
| 215 | shapecode_2_tex_zoom=1.00000 |
| 216 | shapecode_2_r=1.000 |
| 217 | shapecode_2_g=1.000 |
| 218 | shapecode_2_b=1.000 |
| 219 | shapecode_2_a=1.000 |
| 220 | shapecode_2_r2=0.000 |
| 221 | shapecode_2_g2=0.000 |
| 222 | shapecode_2_b2=0.000 |
| 223 | shapecode_2_a2=0.000 |
| 224 | shapecode_2_border_r=1.000 |
| 225 | shapecode_2_border_g=1.000 |
| 226 | shapecode_2_border_b=1.000 |
| 227 | shapecode_2_border_a=0.000 |
| 228 | shape_2_per_frame1=x = 0.5 + 0.5*(sin(time*1.1)*0.3 + 0.7*sin(time*0.5)); |
| 229 | shape_2_per_frame2=x = 0.5 + 0.225*sin(time + 2.09); |
| 230 | shape_2_per_frame3=y = 0.5 + 0.3*cos(time + 2.09); |
| 231 | shape_2_per_frame4= |
| 232 | shape_2_per_frame5=rad = rad*bass_att; |
| 233 | shape_2_per_frame6=r = 0.5 + 0.5*sin(frame*0.5); |
| 234 | shape_2_per_frame7=b = 0.5 + 0.5*sin(frame*0.5 + 2.094); |
| 235 | shape_2_per_frame8=g = 0.5 + 0.5*sin(frame*0.5 + 4.188); |
| 236 | shape_2_per_frame9= |
| 237 | shapecode_3_enabled=1 |
| 238 | shapecode_3_sides=40 |
| 239 | shapecode_3_additive=1 |
| 240 | shapecode_3_thickOutline=0 |
| 241 | shapecode_3_textured=0 |
| 242 | shapecode_3_num_inst=1 |
| 243 | shapecode_3_x=0.500 |
| 244 | shapecode_3_y=0.500 |
| 245 | shapecode_3_rad=0.10000 |
| 246 | shapecode_3_ang=0.00000 |
| 247 | shapecode_3_tex_ang=0.00000 |
| 248 | shapecode_3_tex_zoom=1.00000 |
| 249 | shapecode_3_r=1.000 |
| 250 | shapecode_3_g=1.000 |
| 251 | shapecode_3_b=1.000 |
| 252 | shapecode_3_a=1.000 |
| 253 | shapecode_3_r2=0.000 |
| 254 | shapecode_3_g2=0.000 |
| 255 | shapecode_3_b2=0.000 |
| 256 | shapecode_3_a2=0.000 |
| 257 | shapecode_3_border_r=1.000 |
| 258 | shapecode_3_border_g=1.000 |
| 259 | shapecode_3_border_b=1.000 |
| 260 | shapecode_3_border_a=0.000 |
| 261 | shape_3_per_frame1=x = 0.5 + 0.5*(sin(time*1.1)*0.3 + 0.7*sin(time*0.5)); |
| 262 | shape_3_per_frame2=x = 0.5 + 0.225*sin(time + 4.19); |
| 263 | shape_3_per_frame3=y = 0.5 + 0.3*cos(time + 4.19); |
| 264 | shape_3_per_frame4= |
| 265 | shape_3_per_frame5=rad = rad*treb_att; |
| 266 | shape_3_per_frame6=r = 0.5 + 0.5*sin(frame*0.5); |
| 267 | shape_3_per_frame7=b = 0.5 + 0.5*sin(frame*0.5 + 2.094); |
| 268 | shape_3_per_frame8=g = 0.5 + 0.5*sin(frame*0.5 + 4.188); |
| 269 | shape_3_per_frame9= |
| 270 | per_frame_1=warp=0;decay=1; |
| 271 | per_frame_2=vol = (.75*(bass_att+mid_att+treb_att)/3+.25*prevVol); |
| 272 | per_frame_3=prevAvgBass=avgBass; |
| 273 | per_frame_4=avgBass=avgBass + (bass-AvgBass)*0.01; |
| 274 | per_frame_5=q4=max(avgBass*1.001-.999*prevAvgBass,0); |
| 275 | per_frame_6=q4=min(q4,.006); |
| 276 | per_frame_7=// -------------------------------- Beat Detective 007 ---------------------------------- |
| 277 | per_frame_8=sure=if(equal(sure,0),.6,sure); |
| 278 | per_frame_9=interval=if(equal(interval,0),40,interval); |
| 279 | per_frame_10=lastbeat=if(equal(lastbeat,0),frame-FPS,lastbeat); |
| 280 | per_frame_11=dbass=(bass-pbass)/FPS; |
| 281 | per_frame_12=beat=above(dbass,.6*maxdbass)*above(frame-lastbeat,FPS/3); |
| 282 | per_frame_13=sure=if(beat*below(abs(frame-(interval+lastbeat)),FPS/5), |
| 283 | per_frame_14=min(.095+sure,1),beat*(sure-.095)+(1-beat)*sure*.9996); |
| 284 | per_frame_15=sure=max(.5,sure); |
| 285 | per_frame_16=cheat=if(above(frame,lastbeat+interval+ int(FPS/10))*above(sure,.91),1,cheat); |
| 286 | per_frame_17=beat=if(cheat,1,beat); |
| 287 | per_frame_18=sure=if(cheat,.95*sure,sure); |
| 288 | per_frame_19=maxdbass=max(maxdbass*.999,dbass); |
| 289 | per_frame_20=maxdbass=max(.012,maxdbass); |
| 290 | per_frame_21=maxdbass=min(.02,maxdbass); |
| 291 | per_frame_22=interval=if(beat, frame-lastbeat,interval); |
| 292 | per_frame_23=lastbeat=if(beat,frame-cheat*int(FPS/10),lastbeat); |
| 293 | per_frame_24=cheat=0; |
| 294 | per_frame_25=pbass=bass; |
| 295 | per_frame_26=// ---------------------------------------------------------------------------------------------- |
| 296 | per_frame_27=lastFlip=if( above(bass/avgBass,2)*above(frame-lastFlip,100)*beat, frame,lastFlip ); |
| 297 | per_frame_28=flip = if(equal(frame,lastFlip),abs(flip)-1, flip); |
| 298 | per_frame_29=wave_mystery=flip; |
| 299 | per_frame_30=ob_size = below(frame-lastBeat,FPS/8)*.08*(frame-lastBeat)/FPS; |
| 300 | per_frame_31=f=abs(cos(time/8+.54+sin(time/3+1.075))); |
| 301 | per_frame_32=ob_r=1*f + 1*(1-f); |
| 302 | per_frame_33=ob_g=.3*f + 1*(1-f); |
| 303 | per_frame_34=ob_b=.3*f + .3*(1-f); |
| 304 | per_frame_35=f=(frame-lastbeat)/interval; |
| 305 | per_frame_36=f=above(f,.8)*below(f,1)*f; f=max(0,f); f=min(f,1); |
| 306 | per_frame_37= |
| 307 | per_frame_38=wave_g=.4+.6*(f); |
| 308 | per_frame_39=wave_b=.4+.6*(1-f); |
| 309 | per_frame_40= |
| 310 | per_frame_41=q1= 3.1416*(wave_mystery+1)/2; |
| 311 | per_frame_42=q2=.25*cos(time+abs(2*sin(time*2+2.311)*( vol-amt))*sin(time*7.45+.876)); |
| 312 | per_frame_43=q3=-q2; |
| 313 | per_frame_44= |
| 314 | per_frame_45=amt=amt+ .05*(vol-amt); |
| 315 | per_frame_46=prevVol=vol; |
| 316 | per_frame_47=BPM = BPM + .01*(60*FPS/interval - BPM); |
| 317 | per_frame_48=monitor = 0*pctg+1*BPM; |
| 318 | per_frame_49= |
| 319 | per_frame_50=vb = vb*0.95 + (1-vb)*pow(bass,2)*0.02; |
| 320 | per_frame_51=vvb = vvb*0.95 + (1-vvb)*vb*0.01; |
| 321 | per_frame_52=vm = vm*0.95 + (1-vm)*pow(mid,2)*0.02; |
| 322 | per_frame_53=vvm = vvm*0.95 + (1-vvm)*vm*0.01; |
| 323 | per_frame_54=vt = vt*0.95 + (1-vt)*pow(treb,2)*0.02; |
| 324 | per_frame_55=vvt = vvt*0.95 + (1-vvt)*vt*0.01; |
| 325 | per_frame_56=vvb = min(1,max(0,vvb)); |
| 326 | per_frame_57=vvm = min(1,max(0,vvm)); |
| 327 | per_frame_58=vvt = min(1,max(0,vvt)); |
| 328 | per_frame_59= |
| 329 | per_frame_60=q1 = vvb*2;//0.5 + vb - vvb; |
| 330 | per_frame_61=q2 = vvm*2;//0.5 + vm - vvm; |
| 331 | per_frame_62=q3 = vvt*2;//0.5 + vt - vvt; |
| 332 | per_frame_63= |
| 333 | per_frame_64=v=2; |
| 334 | per_frame_65= |
| 335 | per_frame_66=bb = bb - vvb*v; |
| 336 | per_frame_67=mm = mm - vvm*v; |
| 337 | per_frame_68=tt = tt - vvt*v; |
| 338 | per_frame_69= |
| 339 | per_frame_70=q4 = bb; |
| 340 | per_frame_71=q5 = mm; |
| 341 | per_frame_72=q6 = tt; |
| 342 | per_frame_73= |
| 343 | per_frame_74=q7 = 1.81; |
| 344 | per_frame_75=q8 = 0.448 + (vm-vt)*0.3; |
| 345 | per_frame_76=q9 = 0.701 + (vb-vm)*0.3; |
| 346 | per_frame_77= |
| 347 | per_frame_78= |
| 348 | per_frame_79=w = (bb-tt)*0.1; |
| 349 | per_frame_80=q11 = sin(w); |
| 350 | per_frame_81=q12= cos(w); |
| 351 | per_frame_82=q13 = (bb-mm)*0.2; |
| 352 | per_frame_83=q14 = (tt-mm)*0.2; |
| 353 | per_frame_84=zoom=1; |
| 354 | per_frame_85= |
| 355 | per_frame_86=musictime=musictime+vol; |
| 356 | per_frame_87=q4=sin(musictime*0.02)*0.3; |
| 357 | per_frame_88=q5=sin(musictime*0.01)*0.3; |
| 358 | per_frame_89= |
| 359 | per_frame_90=dx=sin(musictime*0.1)*0.01; |
| 360 | per_frame_91=dy=cos(musictime*0.069)*0.01; |
| 361 | per_frame_92= |
| 362 | per_frame_93= |
| 363 | per_frame_94= |
| 364 | per_frame_95= |
| 365 | per_frame_96=monitor=rot; |
| 366 | per_pixel_1=pi = asin(1); |
| 367 | per_pixel_2= |
| 368 | per_pixel_3=x = x-0.5; |
| 369 | per_pixel_4=y = y- 0.5; |
| 370 | per_pixel_5= |
| 371 | per_pixel_6=d = (q4-q6)*0.4 + (rad-0.3)*(q1-q3)*2 + pi; |
| 372 | per_pixel_7=xx = sin(d)*x - cos(d)*y; |
| 373 | per_pixel_8=yy = cos(d)*x + sin(d)*y; |
| 374 | per_pixel_9= |
| 375 | per_pixel_10= |
| 376 | per_pixel_11=x = xx; |
| 377 | per_pixel_12=y = yy; |
| 378 | per_pixel_13= |
| 379 | per_pixel_14= |
| 380 | per_pixel_15=t = time*0; |
| 381 | per_pixel_16=xh = x; |
| 382 | per_pixel_17=yh = y; |
| 383 | per_pixel_18= |
| 384 | per_pixel_19=w = (q4-q6)*0.8; |
| 385 | per_pixel_20=m = -1 + q2*2; |
| 386 | per_pixel_21=wv = pi-sin(w)*m; |
| 387 | per_pixel_22=wh = pi-cos(w)*m; |
| 388 | per_pixel_23=d = 6*sqrt(q2); |
| 389 | per_pixel_24=ww = 1.1; |
| 390 | per_pixel_25=ddx = sin(2*pi - wv -(x)*ww); |
| 391 | per_pixel_26=ddy = sin(2*pi - wh -(y)*ww); |
| 392 | per_pixel_27=rx = if(above(ddx*ddy,0),sin(wv)/ddx,0); |
| 393 | per_pixel_28=ry = if(above(ddy*ddy,0),sin(wh)/ddy,0); |
| 394 | per_pixel_29= |
| 395 | per_pixel_30=v = -(q2)*.02*(d/ww)*1728/(meshx*meshy); |
| 396 | per_pixel_31= |
| 397 | per_pixel_32=ax = ax + sin(w)*v; |
| 398 | per_pixel_33=ay = ay + cos(w)*v; |
| 399 | per_pixel_34= |
| 400 | per_pixel_35=vx = if(equal(rx*ry,0),0,ax); |
| 401 | per_pixel_36=vy = if(equal(rx*ry,0),0,ay); |
| 402 | per_pixel_37= |
| 403 | per_pixel_38=dx = (-xh*rx*ry*d + vx*.001); |
| 404 | per_pixel_39=dy = (-yh*rx*ry*d + vy*.001); |
| 405 | per_pixel_40= |
| 406 | per_pixel_41=//zoom = 0.93; |
| 407 | warp_1=`shader_body |
| 408 | warp_2=`{ |
| 409 | warp_3=`float2 uv_m = 1.0 - abs( frac( uv * 0.5 ) * 2.0 - 1.0 ); // Eo.S' mirror code |
| 410 | warp_4=`ret.x = tex2D( sampler_fc_main, uv_m ).z; // first julia fractal iteration |
| 411 | warp_5=`ret.y = lerp(lerp(tex2D( sampler_fc_main, uv_m ).x, ret.x,0.5), |
| 412 | warp_6=` GetPixel(uv_orig).y, |
| 413 | warp_7=` 0.75); // 75% of motion blur to the green channel |
| 414 | warp_8=` |
| 415 | warp_9=` |
| 416 | warp_10=`float2 d = texsize.zw*6; |
| 417 | warp_11=`float2 uv_z = (uv_orig-0.5)*0.998 + 0.5; // a small dose of zoom-in |
| 418 | warp_12=`float3 dx = ( GetBlur1(uv_z + float2(1,0)*d) - GetBlur1(uv_z-float2(1,0)*d) ); |
| 419 | warp_13=`float3 dy = ( GetBlur1(uv_z + float2(0,1)*d) - GetBlur1(uv_z-float2(0,1)*d) ); |
| 420 | warp_14=`uv_z -=float2(dx.z,dy.z)*texsize.zw*2; //shortening of the nebulous matter |
| 421 | warp_15=`ret.z = max((tex2d(sampler_fc_main,uv_m).x-0.5)*3*saturate(1-length(uv_orig-0.5)*3.2), // feeded by the inner of the red channel |
| 422 | warp_16=` tex2d(sampler_fc_main,uv_z).z); |
| 423 | warp_17=`ret.z += (tex2d(sampler_fc_main,uv_z).z - GetBlur1(saturate(uv_z)).z)*0.02; // sort of geiss' skin dot code |
| 424 | warp_18=`} |
| 425 | comp_1=`sampler sampler_devboxb; |
| 426 | comp_2=`sampler sampler_suff5; |
| 427 | comp_3=`shader_body |
| 428 | comp_4=`{ |
| 429 | comp_5=`float t = time; // set velocity here |
| 430 | comp_6=`float2 c = (uv-0.5)*aspect.wz; |
| 431 | comp_7=`float1 ang_hq = atan2(c.x,c.y); |
| 432 | comp_8=`float2 spiral = float2(ang_hq*q11*4+t,aspect.w*log(length(c))+ang_hq*q11-t); |
| 433 | comp_9=`//spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*0.83; // mirror |
| 434 | comp_10=`spiral = 0.5 - (0.5 - frac(spiral))*0.866; // mirror |
| 435 | comp_11=`uv = 0.5 + (uv-0.5)*0.88; |
| 436 | comp_12=` ret = tex2D(sampler_main, uv).xyz; |
| 437 | comp_13=` ret *= 1.00; //gamma |
| 438 | comp_14=` ret = lerp(GetPixel(uv).y*float3(0.6,0,0),lerp(1,float3(1,0,0),GetBlur1(uv).y),GetPixel(uv).x*0.6); |
| 439 | comp_15=` ret = lerp(ret,float3(1,0,0),GetPixel(spiral).y*bass*0.5); |
| 440 | comp_16=` ret = lerp(ret,1,GetPixel(spiral).x*treb*0.25); |
| 441 | comp_17=`} |